﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Principal;

namespace IKEA.FileExchange.Security
{
    public class FileExchangePrincipal : IPrincipal
    {
        private FileExchangeIdentity identity;

        #region IPrincipal Members

        public IIdentity Identity
        {
            get { return identity; }
        }

        public bool IsInRole(string role)
        {
            throw new NotImplementedException();
        }

        #endregion

        public FileExchangePrincipal(FileExchangeIdentity identity)
        {
            this.identity = identity;
        }
    }
}
